package com.hl.sfzy.mapper;

import com.hl.sfzy.entity.ConsultantCertificates;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author lin
* @description 针对表【consultant_certificates(咨询师证书表)】的数据库操作Mapper
* @createDate 2025-03-07 19:58:37
* @Entity com.hl.sfzy.entity.ConsultantCertificates
*/
@Mapper
public interface ConsultantCertificatesMapper {

    List<ConsultantCertificates> selectAll();

    int deleteByPrimaryKey(Long id);

    int insert(ConsultantCertificates record);

    int insertSelective(ConsultantCertificates record);

    ConsultantCertificates selectById(Long id);

    int updateByPrimaryKeySelective(ConsultantCertificates record);

    int updateByPrimaryKey(ConsultantCertificates record);
    //根据咨询师id查询证书
    List<ConsultantCertificates> selectByConsultantId(Long id);

}
